package p.ithorns.tools.translator.annotation.field;


import org.springframework.core.annotation.AliasFor;
import p.ithorns.tools.translator.annotation.Translatable;

import java.lang.annotation.*;

/**
 * 字典字段注解
 * 继承自{@link Translatable}
 *
 * @author ithorns
 */
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Target({ElementType.FIELD})
@Translatable
public @interface SvcFiled {

    @AliasFor(annotation = Translatable.class)
    String from() default "";

    /**
     * 字典组
     */
    String group();

}